luci-app-wireguard: fix acl issue
authorFlorian Eckert <[email protected]>
Thu, 2 Jul 2020 16:18:11 +0000 (18:18 +0200)
committerFlorian Eckert <[email protected]>
Thu, 2 Jul 2020 16:18:11 +0000 (18:18 +0200)
Signed-off-by: Florian Eckert <[email protected]>
applications/luci-app-wireguard/root/usr/share/luci/menu.d/luci-app-wireguard.json

index 0cb87f3e263e3714df0ba5083a4eb1382a80fbd7..a42677e1aea443d24a4894f0689e1a6088df68b2 100644 (file)
@@ -5,6 +5,9 @@
                "action": {
                        "type": "template",
                        "path": "wireguard"
+               },
+               "depends": {
+                       "acl": [ "luci-mod-status-index" ]
                }
        }
 }